﻿using Car;
using Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BLL
{
    public class OrdersBLL
    {
        public static bool addOrder(int UserID, int LogisticsID, decimal LittlePrice, int OredersNum, int GoodsID)
        {
            return OrdersDAL.addOrder(UserID, LogisticsID, LittlePrice, OredersNum, GoodsID);
        }
        public static List<OrdersModels> selectByUserID(int UserID)
        {
            return OrdersDAL.selectByUserID(UserID);
        }
        public static bool DeleteByOrdersID(int OrdersID)
        {
            return OrdersDAL.DeleteByOrdersID(OrdersID);
        }
    }
}
